package com.example.tellwin.mine.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.mine.bean.GradeBean;
import com.example.tellwin.mine.bean.MandarinBeam;
import com.example.tellwin.mine.bean.QualificationBean;
import com.example.tellwin.mine.bean.SubjectBean;
import com.google.gson.JsonObject;

import java.util.List;

/**
 * @author : LinZePeng
 * @date : 2020/12/1
 * @Describe ：
 **/
public interface MineDetailContract {
    interface View extends BaseContract.BaseView {
        void gradeListResult(List<GradeBean> gradeBeans);
        void subjectListResult(List<SubjectBean> subjectBeans);
        void qualificationsListResult(List<QualificationBean> qualificationBeans);
        void mandarinListResult(List<MandarinBeam> mandarinBeams);
        void updateUserInfoResult();
        void uploadFileResult(String url);
        void applyAnsweResult();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getGradeList();
        void getSubjectList();
        void getQualificationsList();
        void getMandarinList();
        void updateUserInfo(JsonObject jsonObject);
        void uploadFile(String path);
        void applyAnswer(JsonObject jsonObject);
    }
}
